const gulp = require('gulp')
const updateUserTest = require('./test/update-user-test')
const verify = require('./server/service/verify-password')
const getShareNode = require('./server/dao/get-share-node')
const getImage = require('./server/dao/get-image')
const getAuthor = require('./server/dao/get-author')
const {setOneShare} = require('./server/model/share/getShare')
const {getPublicShare} = require('./server/service/get-general-share')

gulp.task('testupdatepass', () => {
    updateUserTest()
})
gulp.task('verify-password', () => {
})
gulp.task('get-share-node', async () => {
    let point = await getShareNode(2)
    let oneShare = await setOneShare(point)
    console.log(oneShare)
})
gulp.task('get-general-share', async () => {
    let shareList = await getPublicShare(2, 10)
    console.log(shareList)
})

gulp.task('default', ['get-general-share'])